package cn.yinyu.queue.module.ecg.controller.admin.devrent.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 取消装机 Request VO")
@Data
public class DevCancelReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26525")
    private Long id;

    @Schema(description = "预约申请号", example = "2024435")
    private String applyNo;

    @Schema(description = "就诊流水号", example = "2024546")
    private String episodeId;

    @Schema(description = "设备编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "3986")
    private String devId;

    @Schema(description = "患者编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4973")
    @NotEmpty(message = "患者编号不能为空")
    private String patId;

    @Schema(description = "患者名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "嘉木")
    @NotEmpty(message = "患者名称不能为空")
    private String patName;

    @Schema(description = "检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "嘉木")
    @NotEmpty(message = "检查类型不能为空")
    private Integer checkType;

    @Schema(description = "装机时间")
    private LocalDateTime rentTime;

    @Schema(description = "拆机时间")
    private LocalDateTime returnTime;

    @Schema(description = "录入时间")
    private LocalDateTime entryTime;

    @Schema(description = "干扰数")
    private Integer interference;

    @Schema(description = "基线粗")
    private String baseline;

    @Schema(description = "脱离")
    private String detachment;

    @Schema(description = "备注", example = "你猜")
    private String remark;
}